package com.scnu.controller;

import com.scnu.pojo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @RequestMapping("/getUser")
    public User getUser(){
        User u = new User("yvc", 1);
        return u;
    }

    @RequestMapping("/getString")
    public String getString(){
        return "just a test";
    }
}
